//
//  cellNew.m
//  ZhihunewPaper
//
//  Created by 梅杰 on 16/7/16.
//  Copyright © 2016年 梅杰. All rights reserved.
//

#import "cellNew.h"

@implementation cellNew
- (instancetype)initWithDict : (NSDictionary *)dict{
    if (!dict) {
        self = nil;
    }
    if (self = [super init]) {
        [self setValuesForKeysWithDictionary:dict];
        _images = ((NSArray *)_images)[0];
    }
    return self;
}
+ (instancetype) allocWithDict: (NSDictionary *)dict{
    return [[self alloc] initWithDict:dict];
}
- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    NSLog(@"有cellNew模型里未定义的属性%@",key);
}
@end
